import Vue from 'vue'
import Router from 'vue-router'
import home from '@/pages/home/home'
import home_add from '@/pages/home/home-add'
import home_amend from '@/pages/home/home-amend'
import home_details from '@/pages/home/home-details'
import home_addPeople from '@/pages/home/home-addPeople'
import home_ewm from '@/pages/home/home-ewm'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home
    },
    {
      path: '/home_add',
      name: 'home_add',
      component: home_add
    },
    {
      path: '/home_amend',
      name: 'home_amend',
      component: home_amend
    },
    {
      path: '/home_details',
      name: 'home_details',
      component: home_details
    },
    {
      path: '/home_addPeople',
      name: 'home_addPeople',
      component: home_addPeople
    },
    {
      path: '/home_ewm',
      name: 'home_ewm',
      component: home_ewm
    }
  ]
})
